<template>
	<view class="outBox">
		<u-navbar leftText="客户经理" leftIconColor="#fff" :autoBack="true" bgColor="#242331">
			<view class="left-slot" slot="left">
        <u-icon name="arrow-left" color="#fff"></u-icon>
			</view>
		</u-navbar>
		<view class="content" :style="{
			marginTop:barHeight + 'px',
				minHeight:` calc(100vh - ${barHeight + 50}px - 40px)`
		}">

		</view>
	</view>
</template>

<script>
	import {
		getWXStatusHeight
	} from '@/utils/index.js'
	export default {
		data() {
			return {
				// 胶囊的宽度
				barWidth: 0,
				barHeight: 0,
			}
		},
		onLoad() {
			let obj = getWXStatusHeight()
			this.barWidth = obj.barWidth + 3
			this.barHeight = obj.barHeight
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		position: relative;
		padding: 20rpx 40rpx;
		box-sizing: border-box;
		min-height: calc(100vh - 40rpx);
	}

	.left-slot {
		color: #fff;

		image {
			width: 40rpx;
			margin-right: 30rpx;
		}
	}

	.outBox {
		background-color: #242331;
	}
</style>
